package com.dxy.hms.service;

import com.dxy.hms.model.entity.Role;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;
import com.baomidou.mybatisplus.core.metadata.IPage;

/**
* <p>
* 角色表 服务接口
* </p>
*
* @author dxy
* @since 2024-09-24
*/
public interface RoleService extends IService<Role> {

    void add(Role entity);

    void updById(Role entity);

    void delByIds(List<Long> ids);

    Role getDetail(Long id);

    IPage<Role> getPage(String roleCode, String roleName, Long pageNum, Long pageSize);

    List<Role> getList(String roleName);
}
